<template>
	<div class="dark:bg-dark dark:text-white dark:text-opacity-82 transition-base"
		:class="inverted ? 'bg-#001428 text-white' : 'bg-white text-#333639'">
		<slot></slot>
	</div>
</template>

<script setup lang="ts">
defineOptions({ name: 'DarkModeContainer' });

interface Props {
	inverted?: boolean;
}

withDefaults(defineProps<Props>(), {
	inverted: false,
});
</script>

<style scoped></style>
